home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Garbo
/
Garbo.cdr
/
mac
/
source
/
tifreadr.sit
/
Tiff Window DEMO
/
invalidate_controls.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-01-31
|
450b
|
20 lines
#include "my color.h"
invalidate_controls(whichWindow)
WindowPtr whichWindow;
{
Rect grow_rect;
ControlHandle control;
grow_rect = whichWindow->portRect;
grow_rect.top = whichWindow->portRect.bottom - BAR_WIDTH;
grow_rect.left = whichWindow->portRect.right - BAR_WIDTH;
InvalRect(&grow_rect);
control = ((CWindowPeek)whichWindow)->controlList;
while(control)
{
InvalRect(&(*control)->contrlRect);
control = (*control)->nextControl;
}
}